package org.example.mine.service.impl;

import org.example.mine.mapper.BankCardMapper;
import org.example.mine.service.BankCardService;
import org.example.model.domain.express.ExpressDetial;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class BankCardServiceImpl implements BankCardService {

    @Autowired
    BankCardMapper bankCardMapper;
    @Override
    public ExpressDetial getBankCard(String registerIp) {
        return bankCardMapper.getBankCard(registerIp);
    }

    @Override
    public void addbaxnkcard(ExpressDetial expressDetial) {
        bankCardMapper.addbaxnkcard(expressDetial);
    }
}
